package club.emergency.wechat.department_staff.operate.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Create with IntelliJ IDEA
 * Project Name: wechat
 * Package Name: club.emergency.wechat.department_staff.operate.consumer
 * Date: 2019/4/1
 *
 * @author: 快乐的小菌菌
 * Description:
 */
@EnableSwagger2
@EnableEurekaClient
@EnableFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {
        "club.emergency.wechat.cors",
        "club.emergency.wechat.swagger",
        "club.emergency.wechat.interceptor",
        "club.emergency.wechat.department_staff.operate.consumer"
})
public class DepartmentStaffOperateConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DepartmentStaffOperateConsumerApplication.class, args);
    }

}
